<?php if(!empty($this->term)): ?>
<div class="result">
    <dl>
        <!-- Created: <?php echo $this->term->created ?> -->
        <!-- Updated: <?php echo $this->term->updated ?> -->
        
        <dt><?php echo $this->escape($this->term->name) ?></dt>
    
        <?php foreach($this->term->definitions as $i => $definition): ?>
            <dd>
                <!-- Created: <?php echo $definition->created ?> -->
                <!-- Updated: <?php echo $definition->updated ?> -->
                
                <?php echo ($i+1) . '. ' ?>
                
                <?php if(!empty($definition->etymology)): ?>
                    <em>(<?php echo $this->escape($definition->etymology) ?>)</em>
                <?php endif; ?>
                
                <?php echo $definition->content ?>
            </dd>
        <?php endforeach; ?>
    
    </dl>
</div>
<?php endif; ?>